<style type="text/css">
    @media (max-width: 375px) {
        .edit-form tr td input {
            width: 100%;
        }

        .edit-form tr th:first-child, .edit-form tr td:first-child {
            width: 20%;
        }

        .edit-form tr th:nth-last-of-type(-n+2), .edit-form tr td:nth-last-of-type(-n+2) {
            display: none;
        }
    }

    .edit-form table > tbody > tr td a.btn-delcfg {
        visibility: hidden;
    }

    .edit-form table > tbody > tr:hover td a.btn-delcfg {
        visibility: visible;
    }
    #faupload-avatar{
        position: absolute;
        margin-left: 2px;

    }
    .profile-user-img{
        margin: 0 auto;
        width: 200px;
        padding: 3px;
        border: 3px solid #d2d6de;
    }

</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead"><em>网站配置</em>网站前端信息配置</div>
        <ul class="nav nav-tabs">
            <li class="active"><a href="#" data-toggle="tab">信息配置</a></li>

        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <!--@formatter:on-->
            <div class="tab-pane fade active in" id="tab-basic">
                <div class="widget-body no-padding">
                    <form id="basic-form" novalidate class="edit-form form-horizontal nice-validator n-default n-bootstrap" role="form" data-toggle="validator" method="POST" action="{:url('site.index/info')}" novalidate="novalidate">
                        {:token()}
                        <table class="table table-striped">
                            <tbody>
                            <tr data-favisible data-name="name" class="">
                                <td>网站名称</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[index_name]" value="{$data.index_name.value}" class="form-control" data-rule="required" data-tip="{$data.index_name.tip}">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                            <tr data-favisible data-name="beian" class="">
                                <td>备案号</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[index_beian]" value="{$data.index_beian.value}" class="form-control" data-rule="required" data-tip="{$data.index_beian.tip}">
                                        </div>
                                        <div class="col-sm-4"></div>
                                    </div>

                                </td>
                                <td></td>
                            </tr>
                            <tr data-favisible data-name="gongan" class="">
                                <td>公安登记号码</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[index_gongan]" value="{$data.index_gongan.value}" class="form-control" data-rule="required" data-tip="{$data.index_gongan.tip}">
                                        </div>
                                        <div class="col-sm-4"></div>
                                    </div>

                                </td>
                                <td></td>
                            </tr>
                            <tr data-favisible data-name="copyright" class="">
                                <td>版权信息</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[index_copyright]" value="{$data.index_copyright.value}" class="form-control" data-rule="required" data-tip="{$data.index_copyright.tip}">
                                        </div>
                                        <div class="col-sm-4"></div>
                                    </div>

                                </td>
                                <td></td>
                            </tr>
                            <tr data-favisible data-name="support" class="">
                                <td>技术支持</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[index_support]" value="{$data.index_support.value}" class="form-control" data-rule="required" data-tip="{$data.index_support.tip}">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>

                            <tr data-favisible data-name="zjmt_bz_num" class="">
                                <td>制定国家及行业标准</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[zjmt_bz_num]" value="{$data.zjmt_bz_num.value}" class="form-control" data-rule="required" data-tip="请填写项目数">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                            <tr data-favisible data-name="zjmt_js_num" class="">
                                <td>掌握行业关键技术</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[zjmt_js_num]" value="{$data.zjmt_js_num.value}" class="form-control" data-rule="required" data-tip="请填写关键技术数">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                            <tr data-favisible data-name="zjmt_mj_num" class="">
                                <td>年产膜面积</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[zjmt_mj_num]" value="{$data.zjmt_mj_num.value}" class="form-control" data-rule="required" data-tip="请填写膜面积数">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                            <tr data-favisible data-name="zjmt_jd_num" class="">
                                <td>工业基地</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <input type="text" name="row[zjmt_jd_num]" value="{$data.zjmt_jd_num.value}" class="form-control" data-rule="required" data-tip="请填写基地面积">
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>

                            <tr data-favisible data-name="zjmt_intro" class="">
                                <td>走进膜天-简介</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <textarea id="c-intro" class="form-control " rows="3" name="row[zjmt_intro]" data-rule="required" cols="50" data-tip="请填写简介">{$data.zjmt_intro.value}</textarea>
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>
                            <tr data-favisible data-name="zjmt_history" class="">
                                <td>走进膜天-介绍</td>
                                <td>
                                    <div class="row">
                                        <div class="col-sm-8 col-xs-12">
                                            <textarea id="c-history" class="form-control " rows="7" name="row[zjmt_history]" data-rule="required" cols="50" data-tip="请填写介绍">{$data.zjmt_history.value}</textarea>
                                        </div>
                                    </div>
                                </td>
                                <td></td>
                            </tr>

                            <tr data-favisible data-name="video" class="">
                                <td>二维码<i style="color: red;font-size: 10px;">(尺寸:100*100)</i></td>
                                <td>

                                    <div class="row">
                                        <div class="col-sm-4 col-xs-12">
                                            <img class="profile-gongzhong-img" style="width: 200px;height: 238px;padding-bottom: 38px;" src="{$data.gongzhong_img.value}">
                                            <input type="hidden" name="row[gongzhong_img]" id="gongzhong_input" value="{$data.gongzhong_img.value}" class="form-control">

                                            <button type="button" id="faupload-gongzhong" class="faupload" style="position: absolute;left: 40px;bottom: 10px;" data-input-id="c-avatar">
                                                <i class="fa fa-upload">公众号二维码</i> {:__('Upload')}
                                            </button>
                                        </div>
                                        <div class="col-sm-4">
                                            <img class="profile-mobile-img" style="width: 200px;height: 238px;padding-bottom: 38px;" src="{$data.mobile_img.value}">
                                            <input type="hidden" name="row[mobile_img]" id="mobile_input" value="{$data.mobile_img.value}" class="form-control">

                                            <button type="button" id="faupload-mobile" class="faupload" style="position: absolute;left: 40px;bottom: 10px;" data-input-id="c-avatar">
                                                <i class="fa fa-upload">移动端二维码</i> {:__('Upload')}
                                            </button>
                                        </div>
                                    </div>

                                    <div class="profile-avatar-container">








                                    </div>

                                </td>
                            </tr>

                            </tbody>
                            <tfoot>
                            <tr>
                                <td></td>
                                <td>
                                    <div class="layer-footer">
                                        <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
                                        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                                    </div>
                                </td>
                                <td></td>
                                <td></td>
                            </tr>
                            </tfoot>
                        </table>
                    </form>
                </div>
            </div>

            <!--@formatter:on-->
        </div>
    </div>
</div>
